<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>box-shadow属性</title>
<style type="text/css">
.box1{
width:300px;
height:100px;
background:gray;
border:10px solid blue;
box-sizing:content-box;
}
.box2{
width:300px;
height:100px;
background:gray;
border:10px solid blue;
box-sizing:border-box;
}
</style>
</head>
<body>
<div class="box1">content-box属性</div>
<div class="box2">border-box属性</div>
</body>
</html>